<?php

class PlaceCity extends AppModel {
    
    public $primaryKey = 'places_id';
    ////////////////////////
    public $belongsTo = array (
        'PlaceDepartment'=>array (
            'foreignKey' => 'departments_id'
        ),
        'Place' => array(
            'foreignKey' => 'places_id'
        )
    );
    
    ////////////////////////
    
    public $hasMany = array (
        'Group'=>array (
            'foreignKey' => 'cities_id'
        )
    );
    
}
?>
